<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%
	request.setAttribute("brEnter", "\n");//用于替换xml中的换行符
%>
<x:parse var="xmlData" xml="${param.xmlstr}"/>
	
	<table class="TblList" align="center">
			<col style="width: 20%" />
			<col style="width: 30%" />
			<col style="width: 20%" />
			<col style="width: 30%" />
			 <tr>
			 	
			 </tr>
			<tr>
				<td colspan="4" style="text-align: left; font-family: SimHei;" class="td_bgcolor">合作单位信息</td>
			</tr>
	</table>
			
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/purchases/purchase" var="purchase">
					<table class="TblList" align="center">
						<col style="width: 20%" />
						<col style="width: 30%" />
						<col style="width: 20%" />
						<col style="width: 30%" />
					
									<tr >
							           <td align="left" class="td_bgcolor" >单位${index+1 }名称</td>
							           <td colspan="3" align="left" ><x:out select="$purchase/org_name" /></td>
							      </tr>  
							      <tr >       
											<td align="left" class="td_bgcolor">单位地址</td>
											<td align="left" colspan="3"><x:out select="$purchase/address" /></td>
									</tr>
									<tr>
										<td align="left" class="td_bgcolor">注册类型</td>
										<td align="left" colspan="1" ><x:out select="$purchase/nature_name" /></td>
										<td align="left" class="td_bgcolor">组织机构代码</td>
										<td align="left"><x:out select="$purchase/org_no" /></td>
									</tr>
									<tr>
										<td align="left" class="td_bgcolor">联系人</td>
										<td align="left">
											<x:out select="$purchase/lxr_name" /></td>
										<td align="left" class="td_bgcolor">联系电话</td>
										<td align="left"><x:out select="$purchase/lxr_tel" /></td>
									</tr>
						</table>
						<c:set value="${index+1 }" var="index" scope="page"/>
					</x:forEach>
